package net.rossillo.spring.sample.facebook.web.servlet.mvc;

import javax.servlet.http.HttpServletResponse;

import org.springframework.validation.BindException;
import org.springframework.web.servlet.ModelAndView;

import net.rossillo.spring.sample.facebook.domain.Preferences;
import net.rossillo.spring.web.servlet.http.FacebookHttpServletRequest;
import net.rossillo.spring.web.servlet.mvc.AbstractFacebookFormController;

public class PreferencesController extends AbstractFacebookFormController {
	
	public PreferencesController() {
		this.setCommandClass(Preferences.class);
		this.setCommandName("preferences");
	}

	@Override
	protected ModelAndView processFormSubmission(
			FacebookHttpServletRequest request, HttpServletResponse response,
			Object command, BindException errors) throws Exception {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	protected ModelAndView showForm(FacebookHttpServletRequest request,
			HttpServletResponse response, BindException errors)
			throws Exception {

		return null;
	}

}
